package com.qinggeng.project.system.service;

import com.qinggeng.project.system.domain.Member;
import com.qinggeng.project.system.dto.MemberDTO;

import java.util.List;

public interface MemberService {

    //是不是会员
    Integer isMember(Long userId,Integer type);


    Integer isVip(Long userId);

    Integer isSVip(Long userId);

    //获取会员
    Member getMember(Long userId,Integer type);

    //新增会员
    boolean insertMember(MemberDTO member);

    //会员列表
    List<Member> listMember(MemberDTO dto);


    boolean buyVip(String orderNo);


}
